]> dgit.raspbian.org Git - gnome-shell.git/commit
shellDBus: Fix FocusApp()
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 17 Jun 2021 20:09:14 +0000 (22:09 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 17 Jun 2021 21:03:58 +0000 (21:03 +0000)
commitc90fb27a2f3d3047e185190089cef648bce6b58a
treeb4a770fdd9974ecb39f33bcfe42732e983f9f730
parentf5be205c0929cd5713b696ec3718c4a503416cc3
shellDBus: Fix FocusApp()

The appDisplay used to be accessible via the viewSelector, but
that is gone now. Commit c09c070b15 adjusted the code, but the
replacement uses a Main.overview.appDisplay accessor that never
existed, whoops.

Fix this by exposing a new selectApp() method directly on the
overview, so we don't have to shuffle the appDisplay through
controls → overviewActor → overview.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1891>
js/ui/overview.js
js/ui/shellDBus.js